<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
[#include "/admin/include/head.htm"]
<script type="text/javascript">
	var grid;
	$(function(){
		 grid = $("#maingrid").ligerGrid({
            columns: [
			{name: 'id', hide: true, width:0, isAllowHide: false},
			{display: '订单编号', name: 'order.orderNo', align: 'left', width: 150 },
			{display: '会员名称',name:'member.username' ,align: 'left', width: 150},
			{display: '支付金额', name: 'amount', align: 'left', width: 80 },
			{display: '使用余额', name: 'deposit', align: 'left', width: 80 },
			{display: '使用现金', name: 'cash', align: 'left', width: 80 },
			{display: '支付方式', name: 'paymentMethod', align: 'left', width: 150 },
			{display: '支付时间', name: 'createDate', align: 'left', width: 150, dataFormat: 'yyyy-MM-dd HH:mm:ss'}
			],  pageSize:20, url: 'queryData.jhtml',checkbox: false, width: '100%', height:'100%', enabledSort: true
        });
        $("#pageloading").hide();
		LG.loadToolbar(grid);
		//绑定搜索按钮
		LG.search(grid);
	});
</script>
</head>
<body style="padding:10px; overflow:hidden;">
	<div id="functions">
		<div class="clearfix">
			<div style="float:left;">
				<span>
					订单编号：<input type="text" name="search_EQ_order.orderNo" class="formText"/>
				</span>
				<span>
					会员名称：<input type="text" name="search_LIKE_member.username" class="formText"/>
				</span>
				<span>
					支付时间：<input type="text" name="search_GE_createDate" class="formText WdatePicker {dateFmt:'yyyy-MM-dd'}"/>
					- <input type="text" name="search_LE_createDate" class="formText WdatePicker {dateFmt:'yyyy-MM-dd'}"/>
					
				</span>
			</div>
			<input type="button" class="button" value="查询" id="search"/>
			<a href="#" id="search_btn_reset" face="Wingdings 3">清除本次搜索</a>
		</div>
	</div>
	<div id="maingrid" style="margin:0; padding:0"></div>
</body>
</html>